keyC = ['C','D','E','F','G','A','B']
keyG = ['G','A','B','C','D','E','F#']
keyD = ['D','E','F#','G','A','B','C#']
keyA = ['A','B','C#','D','E','F#','G#']
keyE = ['E','F#','G#','A','B','C#','D#']
keyB = ['B','C#','D#','E','F#','G#','A#']
keyF = ['F','G','A','Bb','C','D','E']
keyBb= ['Bb','C','D','Eb','F','G','A']
keyEb= ['Eb','F','G','Ab','Bb','C','D']
keyAb= ['Ab','Bb','C','Db','Eb','F','G']
keyDb= ['Db','Eb','F','Gb','Ab','Bb','C']
keyGb= ['Gb','Ab','Bb','Cb','Db','Eb','F']
keyFs= ['F#','G#','A#','B','C#','D#','E#']

menu = """
Select the key:
1) Key of C
2) Key of G
3) Key of D
4) Key of A
5) Key of E
6) Key of F
7) Key of Bb
8) Key of Eb
9) Key of Ab
10) Key of Db
11) Key of Gb/F#
12) Quit
"""

keyChoice = int(input(menu))

while keyChoice != 12:
    if keyChoice == 1: key = keyC; print(key)
    elif keyChoice == 2: key = keyG; print(key)
    elif keyChoice == 3: key = keyD; print(key)
    elif keyChoice == 4: key = keyA; print(key)
    elif keyChoice == 5: key = keyE; print(key)
    elif keyChoice == 6: key = keyF; print(key)
    elif keyChoice == 7: key = keyBb; print(key)
    elif keyChoice == 8: key = keyEb; print(key)
    elif keyChoice == 9: key = keyAb; print(key)
    elif keyChoice == 10: key = keyDb; print(key)
    elif keyChoice == 11: key = keyFs; print(key)
    else: print("Not a valid option.")
    keyChoice = int(input(menu))
    
#triad = key[1,3,5]
#print(triad)

